package graph;

import geocoding.BusNetTrip;

public class ALGOTripHeapData extends ALGOHeapData {
	private BusNetTrip id;
	private double g;

	public ALGOTripHeapData(BusNetTrip s, double p, double g) {
		super(p);
		id = s;
		this.g = g;
	}

	public double getActualCosts() {
		return g;
	}
	
	public BusNetTrip getData() {
		return id;
	}

	public ALGOTripHeapData clone() {
		return new ALGOTripHeapData(id.clone(), this.priority(), g);
	}
}
